﻿using System.Threading.Tasks;
using System.Web.Mvc;

namespace Kugar.Web.WechatMPOAuth.Demo.Controllers
{
    public class MPOAuthHandler: IMPOAuthHandler
    {
        public (string appID, string appSerect) MPGetter(AuthorizationContext filterContext)
        {
            return ("ssss", "ssss");
        }

        public void OnUserAuthority(string appID, WechatUserOAuth user)
        {
            
        }

        public bool IsNeedAuthority(AuthorizationContext action)
        {
            throw new System.NotImplementedException();
        }

        public (string appID, string appSerect, string token) MPGetter(ControllerContext controllerContext,
            ActionDescriptor actionDescriptor)
        {
            throw new System.NotImplementedException();
        }

        public Task OnUserAuthorityAsync(string appID, WechatUserOAuth user, Controller controller)
        {
            throw new System.NotImplementedException();
        }

        public bool CheckAuthority(AuthorizationContext action)
        {
            throw new System.NotImplementedException();
        }
    }

}
